package org.interactive.spring.intro.component;

import org.interactive.spring.intro.entities.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * UserProcessingComponentImpl class
 *
 * @author bogdan.solga
 *
 * Date: 05.06.2013, time: 09:47
 */
@Component
public class UserProcessingComponentImpl implements UserProcessingComponent {

    private static final Logger log = LoggerFactory.getLogger(UserProcessingComponentImpl.class);

    public void processUser(User user) {
        log.info("Processing the user '{}'...", user.getUserName());

        //TODO: add user processing
    }
}
